﻿using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web.UI.WebControls;


namespace MyHealthByDesign.Domain.Panels

{
    interface IQuestionPanel
    {
        Panel GenerateQuestionDisplay(Question question);
        Dictionary<Question, NameValueCollection> RetrieveQuestionValue(Question question, ContentPlaceHolder contentPlaceHolder);
        void SetInitialQuestionValue(Question question, NameValueCollection answers, ContentPlaceHolder contentPlaceHolder);
        List<Panel> GenerateAdminForm(Question question, List<Panel> panelList);
        void ProcessAdminForm(Question question, List<Panel> panelList);
    }
}
